package com.hugh.dockerjar.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author: Hugh
 * @Date: 2020/11/21
 */
@RestController
@EnableAutoConfiguration
@RequestMapping(value = "/hot")
public class HotApi {

    @RequestMapping(value = "getHot")
    public Object getHot() throws Exception {
        return "this is hot";
    }
}
